<div id="updateDialog" class="crudDialog">
    <form id="SecUserupdateForm" method="post">

        <div class="form-group col-md-12">
            <label class="col-md-2" for="loginName">登录名</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="loginName" type="text" class="form-control" readonly="readonly" th:value="*{bean.loginName}"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="nickName">昵称</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="nickName" type="text" class="form-control" name="nickName" maxlength="100" th:value="*{bean.nickName}"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="gender">性别</label>
            <div class="col-md-8 col-md-offset-2">
                <select id="gender" class="form-control" name="gender">
                    <option value="1" th:selected="*{bean.gender=='1'}">男</option>
                    <option value="0" th:selected="*{bean.gender=='0'}">女</option>
                    <option value="-1" th:selected="*{bean.gender=='-1'}">未知</option>
                </select>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="mobile">手机号</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="mobile" type="text" class="form-control" name="mobile" maxlength="20" th:value="*{bean.mobile}"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="email">邮箱</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="email" type="text" class="form-control" name="email" maxlength="100" th:value="*{bean.email}"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="useState">是否禁用</label>
            <div class="col-md-8 col-md-offset-2">
                <select id="useState" class="form-control" name="useState">
                    <option value="1" th:selected="*{bean.useState==1}">正常</option>
                    <option value="-1" th:selected="*{bean.useState==-1}">待审</option>
                    <option value="0" th:selected="*{bean.useState==0}">禁用</option>
                </select>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group text-right dialog-buttons">
            <input type="hidden" name="uid" th:value="*{bean.uid}"/>
            <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
            <button class="waves-effect waves-button" id="btn-SecUser-update">保存</button>
            <a class="waves-effect waves-button" href="javascript:;" onclick="updateDialog.close();">取消</a>
        </div>
    </form>
</div>